LEGION Simulator Help

Saving Graphs

While working with graphs, it may be necessary to capture images of them for use in presentations or on web pages, etc. There’s also the option to save Graphs as data files.
Note: Save graph events can also be set up on the Timeline; see Graphs track events.

To save a single graph:

  1. Right-click in the Graph Window and select Save Graph.
    • The Save As dialog is displayed.
  2. Browse to a suitable location and enter a name for the graph in the “File name” field.
  3. Select an appropriate file type:
    • To save graph data, these file types are available:
      • Comma separated Files (.csv)
      • Excel 97-2003 Files (.xls)
      • Excel Files (.xlsx)
    • To save graph images, these file types are available:
      • JPEG (.jpg)
      • Bitmap (.bmp)
      • PNG (.png)
  4. Click OK.

Saving All Graphs

All graphs can be as images or data in a specified location, in a single operation. Even graphs that are not currently displayed in Graph Windows are saved. Include or exclude specific graphs by enabling or disabling their Analyses in the Object Directory.
Note: Save graph events can also be set up on the Timeline; see Graphs track events.

To save all graphs:

  1. On the Analysis tab of the Object Directory, enable or disable the Analyses of graphs to include or exclude.
  2. Right-click in a Graph Window and select Save All Graphs or select File > Save All Graphs.
    • The Save All Graphs dialog is displayed.
  3. Click the browse button next to the Location box and specify a folder location for the saved files.
    Tip: If the folder you select is in the Project Base Folder, or a subfolder thereof, it is automatically converted to a relative path. See Creating an Analysis Project.
  4. To generate data files, tick the “Generate data files” box. If data files aren’t needed, go to step 5.
    • Select either .xlsx or .csv file format from the adjacent options.
      Note: .csv files can be loaded into LEGION Simulator as graphs; xlsx files cannot be.
  5. To generate image files, tick the “Generate image files” box. If image files are not needed, go to step 9.
  6. Select one of the available file formats:
    • JPEG (.jpg) – specify the adjacent Quality setting (10 is the highest quality and involves the least compression).
    • Bitmap (.bmp)
    • PNG (.png) – this is the default format.
  7. Set the graph images’ aspect ratio and dimensions:
    • The default aspect ratio is 16:9 and the default dimensions are 1920 x 1080 pixels.
      • Select an aspect ratio option from the Image Aspect Ratio drop-down.
      • To enter an aspect ratio that’s not listed, select the Custom option. The custom aspect ratio box appears.
      • Sizes and aspect ratio can be “linked” when using a custom aspect ratio.
        • When the sizes and aspect ratio are linked, changing one dimension automatically updates the other dimension such that the aspect ratio is always respected.
        • When the sizes and aspect ratio is are unlinked, they are independent and changing a dimension automatically updates the custom aspect ratio. The other image dimension is not changed.
        • To link or unlink sizes and aspect ratio, click the button between the X and Y size boxes:
      • The icon or button here indicates whether sizes and aspect-ratio are linked:
        • this icon (not a button) means sizes are linked to the aspect ratio and cannot be unlinked.
        • this button means sizes and aspect ratio are linked, but they can be unlinked.
        • this button means sizes and aspect ratio are not linked, but they can be linked. Tip: Sizes are always automatically linked to preset (non-custom) aspect ratios. Only custom aspect ratios let you link or unlink sizes to the aspect ratio.
      • Set the preferred image size, remembering the above rules about linked/unlinked aspect ratios.
        • Only numbers can be entered.
        • Invalid values are highlighted by a red border around the input box.
          Note: Default sizes and format are declared in the “Cameras, Images, Videos and Maps” tab of the Simulator Project Settings dialog. See the Camera, Image, Video and Map Defaults topic for details.
  8. To save image files in the same place as the data files, check Use same location as for data files.
    • To save image files in another location, ensure this box is unchecked and browse to a suitable location. This location can also be relative to the project base folder. If so, it is automatically converted to a relative location.
  9. Click OK.
    • A progress bar is displayed as the graphs are saved.
    • If duplicate files are found, an alert asks whether they should be overwritten.